翻訳と辞書
Words near each other
・ Exotique
・ Exotoxin
・ Exotron & Urban Myths
・ Exotropia
・ Exoudun
・ Exova
・ Exovasa
・ Exovedate
・ Exozodiacal dust
・ Exoès
・ Exp
・ Exp (band)
・ Exp algebra
・ EXP-561
・ Exp4j
Expand (Unix)
・ Expand Networks
・ Expand Your Head
・ EXPAND-TB
・ Expandable Language
・ Expandable microsphere
・ Expandable tubular technology
・ Expandable water toy
・ Expanded access
・ Expanded bed adsorption
・ Expanded Books
・ Expanded Cinema
・ Expanded clay aggregate
・ Expanded Criteria Donor
・ Expanded cuboctahedron


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Expand (Unix) : ウィキペディア英語版
Expand (Unix)

expand is a program that converts tab characters into groups of space characters, while maintaining correct alignment. It is available in Unix operating systems and many Unix-like operating systems.
For example:

$ echo -e "foo\tbar" | expand | xxd -g 1 -u
0000000: 66 6F 6F 20 20 20 20 20 62 61 72 0A foo bar.
$ echo -e "foo\tbar" | xxd -g 1 -u
0000000: 66 6F 6F 09 62 61 72 0A foo.bar.
$

Here the echo command prints a string of text that includes a tab character, then the output is directed into the expand command. The resulting output is then displayed in hexadecimal and as characters by the xxd dump command. At the second prompt, the same echo output is sent directly to the xxd command. As can be seen by comparing the two, the expand program converts the tab (specified as '\t' to the echo program) into spaces.
==See also==

*List of Unix programs
*Unexpand

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Expand (Unix)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.